﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="List.aspx.cs" Inherits="WEALTH.List" %>
    
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link rel="stylesheet" href="css/liststyle.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/indexPage.css" type="text/css" media="screen" />
    <script type="text/javascript">

        $(document).ready(function () {

            // Store variables

            var accordion_head = $('.accordion > li > a'),
				accordion_body = $('.accordion li > .sub-menu');

            // Open the first tab on load

            accordion_head.first().addClass('active').next().slideDown('normal');

            // Click function

            accordion_head.click('click', function (event) {

                // Disable header links

                event.preventDefault();

                // Show and hide the tabs on click

                if ($(this).attr('class') != 'active') {
                    accordion_body.slideUp('normal');
                    $(this).next().stop(true, true).slideToggle('normal');
                    accordion_head.removeClass('active');
                    $(this).addClass('active');
                }

            });

        });

    </script>
    <div style="background-image: url('images/subIndexTop.jpg'); background-repeat: no-repeat;
        height: 63px; width: 978px">
    </div>
    <div class="memLogin" style="width: 22%; height: 100%; padding-bottom: 20px;">
        <div id="wrapper-250" style="background-image: url('../images/bg_left.gif'); background-repeat: no-repeat;
            width: 100%; float: left;">
            <ul class="accordion">
                <%=strLeftmenu%>
            </ul>
        </div>
    </div>
    <div class="memReg01" style="width: 70%; height: 100%">
        <div id="wrapper-750" style="width: 100%;">
            <table id="Table1" style="width: 100%" cellspacing="0" cellpadding="0" border="0">
                <tr>
                    <td>
                        <asp:DataList ID="DataList1" runat="server" RepeatDirection="Horizontal" RepeatColumns="1"
                            Width="100%">
                            <ItemStyle Width="50%" />
                            <ItemTemplate>
                                <div>
                                    <table>
                                        <tr>
                                            <td>
                                                <p style="font-weight: bold;">
                                                    <%# GetTitleStr(Eval("listTitle"))%></p>
                                            </td>
                                            <td>
                                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日期：<%#DataBinder.Eval(Container.DataItem,"listdate","{0:d}")%>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <%# GetjianjieStr(Eval("listjianjie"))%>
                                                <a target="_blank" href="ListView.aspx?listviewid=<%#DataBinder.Eval(Container.DataItem,"listID")%>&menutype=<%=Request.QueryString["menutype"] %>">
                                                    【查看详情】</a>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <%--<p style="font-weight: bold;"><%#DataBinder.Eval(Container.DataItem,"listTitle")%></p>
                            <%#DataBinder.Eval(Container.DataItem,"listdate","{0:d}")%><br>
                            <%#DataBinder.Eval(Container.DataItem,"listjianjie")%>
                            <a target="_blank" href="ListView.aspx?listviewid=<%#DataBinder.Eval(Container.DataItem,"listID")%>&menutype=<%=Request.QueryString["menutype"] %>">
                                【查看详情】</a><br>--%>
                                <hr>
                            </ItemTemplate>
                        </asp:DataList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="page-pagination clear">
                            <table width="98%">
                                <tr>
                                    <td align="center">
                                        <webdiyer:aspnetpager id="AspNetPager1" runat="server" onpagechanged="AspNetPager1_PageChanged"
                                            cssclass="anpager" currentpagebuttonclass="cpb" firstpagetext="首页" lastpagetext="尾页"
                                            nextpagetext="下一页" prevpagetext="上一页">
                        </webdiyer:aspnetpager>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
